package com.wingsboat.common.protect.lockProcessor;

import org.aspectj.lang.ProceedingJoinPoint;

/**
 * @author wangzhong
 * @description: 锁处理器
 * @date 2024/5/30 16:00
 */
public interface AthenaLockProcessor {

    /**
     * 处理
     * @param joinPoint
     * @param key
     * @param leaseTime
     * @return
     * @throws Throwable
     */
    Object proceed(ProceedingJoinPoint joinPoint, String key, long leaseTime) throws Throwable;

}
